package com.eh.factory.simpleFactory;

import com.eh.factory.simpleFactory.factory.SimplePizzaFactory;
import com.eh.factory.simpleFactory.store.PizzaStore;

/**
 * Created by David on 2016/4/26.
 */
public class SimpleFactorySimulator {
    public static void main(String[] args) {
        PizzaStore pizzaStore = new PizzaStore(new SimplePizzaFactory());
        pizzaStore.orderPizza("cheese");
    }
}
